package com.ssm.admin.dao;

import com.ssm.admin.entity.SsmSalesorderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssm.admin.entity.dto.SaleOrderDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author ssm
 * @email sunlightcs@gmail.com
 * @date 2023-03-19 17:30:08
 */
@Mapper
public interface SsmSalesorderDao extends BaseMapper<SsmSalesorderEntity> {
	public List<SaleOrderDto> findOrderInfo();
	public List<SaleOrderDto> findOrderByUsername(@Param("username") String username
	,@Param("page")Integer page,@Param("limit")Integer limit);
	public Integer findCount();

}
